package com.wealth.bbs.enums;


public enum TopicEssenceEnum {

	NORMAL(0,"正常"), UP(1,"加精");
	
	private int value;
	private String comment;
	private TopicEssenceEnum(int value,String comment){
		this.value = value;
		this.comment =comment;
	}
	
	public int getValue(){
		return value;
		
	}
	public String getComment(){
		return comment;
	}
	public static TopicEssenceEnum get(int value){
		for (TopicEssenceEnum o:TopicEssenceEnum.values()) {
			if(o.value ==value){
				return o;
			}
		}
		return null;
	}
	
}
